package com.th.common.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.th.common.enums.WalletStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author 第五组
 * @Description TODO
 * @createTime 2023-06-24 16:33
 */
@Data
@ApiModel("钱包信息表")
@TableName("us_wallet_info")
public class UsWalletInfo {
    @ApiModelProperty("钱包id")
    private Long id;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("钱包余额")
    private double balance;

    @ApiModelProperty("总收入")
    private double totalIncome;

    @ApiModelProperty("总支出")
    private double totalExpenditure;

    /**
     * {@link WalletStatus}
     */
    @ApiModelProperty("钱包状态")
    private Integer status;
}
